<h1>Listing payment_methods</h1>

<table>
  <thead>
    <tr>
      <th>Label</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Created by</th>
      <th>Updated by</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @payment_methods.each do |payment_method| %>
      <tr>
        <td><%= payment_method.label %></td>
        <td><%= payment_method.created_at %></td>
        <td><%= payment_method.updated_at %></td>
        <td><%= payment_method.created_by %></td>
        <td><%= payment_method.updated_by %></td>
        <td><%= link_to 'Show', payment_method %></td>
        <td><%= link_to 'Edit', edit_payment_method_path(payment_method) %></td>
        <td><%= link_to 'Destroy', payment_method, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Payment method', new_payment_method_path %>
